home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.0
/
Video Toaster v4.0.iso
/
arexx
/
editor
/
import.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-03-06
|
1KB
|
43 lines
/* Import.rexx -- Import Universal */
/* By Arnie Cachelin © 1992 NewTek Inc. */
/* 4.0'ised by Bob Caron */
/* Hakuna Matata!!!!! */
OPTIONS RESULTS
TOASTERLIB="ToasterARexx.port"
REXXLIB = "rexxsupport.library"
call remlib('ToasterARexx.port')
call remlib('PROJECT_REXX_PORT')
call addlib('PROJECT_REXX_PORT' , 0)
call ADDLIB(TOASTERLIB , 0)
address command "C:assign hiip: toaster:programs/hiip_support"
rx startfilereq("Select Graphic To Display","Toaster:","(Filename Will Appear Here)")
exit=1
do while exit=1
filename=queryfilereq()
if filename=0 then call quit
if filename~="" then exit=0
address command "c:wait 1"
say filename
end
call req_open("Processing... Please Wait.")
address command "C:gnusto "||filename||" T:temp image saver iff sy "||value(0)||" sx "||value(752)||" sn bestup"
Switcher(MDV1)
Switcher(LRGB,"t:temp",0)
call req_close()
call remlib('ToasterARexx.port')
call remlib('PROJECT_REXX_PORT')
exit
quit:
call req_tell("Canceled!")
call remlib('ToasterARexx.port')
call remlib('PROJECT_REXX_PORT')
exit